import 'package:catguard/pages/about_us/binding.dart';
import 'package:catguard/pages/about_us/view.dart';
import 'package:catguard/pages/add_devices/device_search/device_search_binding.dart';
import 'package:catguard/pages/add_devices/device_search/device_search_view.dart';
import 'package:catguard/pages/add_devices/device_tips/device_tips_view.dart';
import 'package:catguard/pages/add_devices/select_wifi/select_wifi_binding.dart';
import 'package:catguard/pages/add_devices/select_wifi/select_wifi_view.dart';
import 'package:catguard/pages/add_pet/binding.dart';
import 'package:catguard/pages/add_pet/view.dart';
import 'package:catguard/pages/change_pwd/change_pwd_binding.dart';
import 'package:catguard/pages/change_pwd/change_pwd_view.dart';
import 'package:catguard/pages/device_detail/device_detail_binding.dart';
import 'package:catguard/pages/device_detail/device_detail_view.dart';
import 'package:catguard/pages/family_manager/binding.dart';
import 'package:catguard/pages/family_manager/view.dart';
import 'package:catguard/pages/family_share/binding.dart';
import 'package:catguard/pages/family_share/view.dart';
import 'package:catguard/pages/language/language_binding.dart';
import 'package:catguard/pages/language/language_view.dart';
import 'package:catguard/pages/msg_center/msg_center_binding.dart';
import 'package:catguard/pages/msg_center/msg_center_view.dart';
import 'package:catguard/pages/my_info/binding.dart';
import 'package:catguard/pages/my_info/view.dart';
import 'package:catguard/pages/pet_manager/binding.dart';
import 'package:catguard/pages/pet_manager/view.dart';
import 'package:catguard/pages/pet_record/add_case/binding.dart';
import 'package:catguard/pages/pet_record/add_case/view.dart';
import 'package:catguard/pages/pet_record/add_disinsection/add_disinsection_binding.dart';
import 'package:catguard/pages/pet_record/add_disinsection/add_disinsection_view.dart';
import 'package:catguard/pages/pet_record/add_drug/add_drug_binding.dart';
import 'package:catguard/pages/pet_record/add_drug/add_drug_view.dart';
import 'package:catguard/pages/pet_record/add_eat/binding.dart';
import 'package:catguard/pages/pet_record/add_eat/view.dart';
import 'package:catguard/pages/pet_record/add_note/add_note_binding.dart';
import 'package:catguard/pages/pet_record/add_note/add_note_view.dart';
import 'package:catguard/pages/pet_record/add_shower/add_shower_binding.dart';
import 'package:catguard/pages/pet_record/add_shower/add_shower_view.dart';
import 'package:catguard/pages/pet_record/add_vaccine/binding.dart';
import 'package:catguard/pages/pet_record/add_vaccine/view.dart';
import 'package:catguard/pages/pet_record/add_weight/binding.dart';
import 'package:catguard/pages/pet_record/add_weight/view.dart';
import 'package:catguard/pages/register/register_binding.dart';
import 'package:catguard/pages/register/register_view.dart';
import 'package:catguard/pages/setting/binding.dart';
import 'package:catguard/pages/setting/view.dart';
import 'package:catguard/pages/webview/webview_binding.dart';
import 'package:catguard/pages/webview/webview_view.dart';
import 'package:get/get_navigation/get_navigation.dart';
import 'package:get/get_navigation/src/routes/get_route.dart';

import '../pages/add_devices/device_tips/device_tips_binding.dart';
import '../pages/home/home_binding.dart';
import '../pages/home/home_page.dart';
import '../pages/login/login_binding.dart';
import '../pages/login/login_view.dart';
import '../pages/splash/splash_binding.dart';
import '../pages/splash/splash_page.dart';

///
/// GetX页面路由总配置
///
class Routes {
  static String splash = '/';
  static String home = '/home';
  static String login = '/login';
  static String register = '/register';
  static String webView = '/web_view';
  static String changePwd = '/change_pwd';
  static String language = '/language';
  static String msgCenter = '/msg_center';
  static String familyShare = '/family_share';
  static String setting = '/setting';
  static String aboutUs = '/about_us';
  static String familyManager = '/family_manager';
  static String myInfo = '/my_info';
  static String addPet = '/add_pet';
  static String petManager = '/pet_manager';
  static String addWeight = '/add_weight';
  static String addEat = '/add_eat';
  static String addCase = '/add_case';
  static String addVaccine = '/add_vaccine';
  static String addDrug = '/add_drug';
  static String addShower = '/add_shower';
  static String addDisinsection = '/add_disinsection';
  static String addNote = '/add_note';
  static String deviceSearch = '/device_search';
  static String deviceTips = '/device_tips';
  static String selectWifi = '/select_wifi';
  static String deviceDetail = '/device_detail';


  static List<GetPage> getPages = [
    GetPage(name: splash, page: () => SplashPage(), binding: SplashBinding()),
    GetPage(name: home, page: () => const HomePage(), binding: HomeBinding()),
    GetPage(name: login, page: () => LoginPage(), binding: LoginBinding()),
    GetPage(name: register, page: () => RegisterPage(), binding: RegisterBinding()),
    GetPage(name: webView, page: () => WebViewPage(), binding: WebViewBinding()),
    GetPage(name: changePwd, page: () => ChangePwdPage(), binding: ChangePwdBinding()),
    GetPage(name: language, page: () => LanguagePage(), binding: LanguageBinding()),
    GetPage(name: msgCenter, page: () => MsgCenterPage(), binding: MsgCenterBinding()),
    GetPage(name: familyShare, page: () => FamilySharePage(), binding: FamilyShareBinding()),
    GetPage(name: setting, page: () => SettingPage(), binding: SettingBinding()),
    GetPage(name: aboutUs, page: () => AboutUsPage(), binding: AboutUsBinding()),
    GetPage(name: familyManager, page: () => FamilyManagerPage(), binding: FamilyManagerBinding()),
    GetPage(name: myInfo, page: () => MyInfoPage(), binding: MyInfoBinding()),
    GetPage(name: addPet, page: () => AddPetPage(), binding: AddPetBinding()),
    GetPage(name: petManager, page: () => PetManagerPage(), binding: PetManagerBinding()),
    GetPage(name: addWeight, page: () => AddWeightPage(), binding: AddWeightBinding()),
    GetPage(name: addEat, page: () => AddEatPage(), binding: AddEatBinding()),
    GetPage(name: addCase, page: () => AddCasePage(), binding: AddCaseBinding()),
    GetPage(name: addVaccine, page: () => AddVaccinePage(), binding: AddVaccineBinding()),
    GetPage(name: addDrug, page: () => AddDrugPage(), binding: AddDrugBinding()),
    GetPage(name: addShower, page: () => AddShowerPage(), binding: AddShowerBinding()),
    GetPage(name: addDisinsection, page: () => AddDisinsectionPage(), binding: AddDisinsectionBinding()),
    GetPage(name: addNote, page: () => AddNotePage(), binding: AddNoteBinding()),
    GetPage(name: deviceTips, page: () => DeviceTipsPage(), binding: DeviceTipsBinding()),
    GetPage(name: deviceSearch, page: () => DeviceSearchPage(), binding: DeviceSearchBinding()),
    GetPage(name: selectWifi, page: () => SelectWifiPage(), binding: SelectWifiBinding()),
    GetPage(name: selectWifi, page: () => SelectWifiPage(), binding: SelectWifiBinding()),
    GetPage(name: deviceDetail, page: () => DeviceDetailPage(), binding: DeviceDetailBinding()),
  ];
}
